package com.gitee.hengboy.mybatis.enhance.sample.mapper;

import com.gitee.hengboy.mybatis.enhance.mapper.EnhanceMapper;
import com.gitee.hengboy.mybatis.enhance.sample.entity.UserEntity;
import org.apache.ibatis.annotations.Param;

/**
 * 用户数据接口
 *
 * @author：于起宇 <br/>
 * ===============================
 * Created with IDEA.
 * Date：2018/8/3
 * Time：1:57 PM
 * 简书：http://www.jianshu.com/u/092df3f77bca
 * ================================
 */
public interface UserMapper extends EnhanceMapper<UserEntity, Integer> {
    /**
     * 方法名称规则查询
     * 查询指定用户账户的用户基本信息
     *
     * @param account 用户账户
     * @return
     */
    UserEntity findByUserAccount(@Param("userAccount") String account);
}
